Implement :max-width/:max-height for (ImageMagic) images
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 23 Jun 2013 19:24:27 +0000 (21:24 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 23 Jun 2013 19:24:27 +0000 (21:24 +0200)
commite93cce0a4ffc1e1a79e1e7e514598372df28eb1f
treeb3e8d8be2369fb1a23c11b7b8dd646d503c7059b
parent90ffa80e92c23049f2bc867290ef82f74132be48
Implement :max-width/:max-height for (ImageMagic) images

* doc/lispref/display.texi (ImageMagick Images): Mention :max-width and
:max-height.

* lisp/net/shr.el (shr-rescale-image): Use the new
:max-width/:max-height functionality.

* src/image.c (compute_image_size): New function to implement
:max-width and :max-height.
(imagemagick_load_image): Use it.
doc/lispref/ChangeLog
doc/lispref/display.texi
etc/NEWS
lisp/ChangeLog
lisp/net/shr.el
src/ChangeLog
src/image.c